package com.jingbit.ai.entities;

import java.io.Serializable;

/**
 * 日程安排实体
 * 
 * @author pansha
 *
 */
public class ScheduleInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String title;
	private String desc;
	private String location;
	
	private String time;
	private String solar;
	private String lunar;
	private String week;
	
	// 设置事件的开始和结束的信息如下
	private long start;
	private long end;

	private int remind;// 提前提醒n分钟
	private int repeat;// 重复提醒天数

	private int allDay;// 设置一个全天事件的条目
	private int status;// 事件状态暂定(0)，确认(1)或取消(2)
	
	private boolean birthday;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getSolar() {
		return solar;
	}

	public void setSolar(String solar) {
		this.solar = solar;
	}

	public String getLunar() {
		return lunar;
	}

	public void setLunar(String lunar) {
		this.lunar = lunar;
	}

	public String getWeek() {
		return week;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	public long getStart() {
		return start;
	}

	public void setStart(long start) {
		this.start = start;
	}

	public long getEnd() {
		return end;
	}

	public void setEnd(long end) {
		this.end = end;
	}

	public int getRemind() {
		return remind;
	}

	public void setRemind(int remind) {
		this.remind = remind;
	}

	public int getRepeat() {
		return repeat;
	}

	public void setRepeat(int repeat) {
		this.repeat = repeat;
	}

	public int getAllDay() {
		return allDay;
	}

	public void setAllDay(int allDay) {
		this.allDay = allDay;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public boolean isBirthday() {
		return birthday;
	}

	public void setBirthday(boolean birthday) {
		this.birthday = birthday;
	}

	@Override
	public String toString() {
		return "ScheduleInfo [id=" + id + ", title=" + title + ", desc=" + desc + ", location=" + location + ", time="
				+ time + ", solar=" + solar + ", lunar=" + lunar + ", week=" + week + ", start=" + start + ", end="
				+ end + ", remind=" + remind + ", repeat=" + repeat + ", allDay=" + allDay + ", status=" + status
				+ ", birthday=" + birthday + "]";
	}

}
